home *** CD-ROM | disk | FTP | other *** search
/ Group 42-Sells Out! - The Information Archive / Group 42 Sells Out (Group 42) (1996).iso / hack / tv / sat / euro / schema.txt < prev    next >
Text File  |  1995-11-19  |  6KB  |  115 lines

  1. PIC 16C84 Serial mode programmer, hardware.                  
  2. -------------------------------------------
  3.  
  4. The programmer is connected to a parallel printer port of a PC. 
  5. It uses the serial programming method which uses two signals
  6. (data and clock) to communicate with the PIC. 
  7. D0 of the parallel port is used for Data, D1 is for Clock.
  8. D2 switches the MCLR/Vpp pin and D3 is used for switching
  9. the power supplied to the PIC on and off. The Busy signal is
  10. also connected to Data to read data from the PIC. Together with
  11. GND six pins are used from the parallel port.
  12.  
  13. A 7407 open collector non-inverting buffer seperates the PIC from
  14. the parallel port. There are two LEDs, Power and Activity.
  15. Power indicates that the programmer gets enough power. It
  16. should always be on. Activity indicates that power is applied 
  17. (5V and Vpp) to the PIC. This is under control of the programmer 
  18. software. You can try this without a chip by reading the chip
  19. contents. The software will think that is sees an empty chip since 
  20. there is no way of telling if a chip is inserted or not. 
  21. (An empty chip will always read ones.)
  22. When the Activity LED is off PIC may be inserted or removed.
  23. Never insert a PIC when it is on.
  24.  
  25. Building the programmer is pretty straightforward. I made 
  26. a little box (7 x 5 x 2 cm) with an 18 pin ZIF socket and
  27. the circuit. Connecting the box to a parallel port could 
  28. be done with a 6 lead RJ-12 cable. There are these neat 
  29. D25 connectors with an RJ-12 connector on the back...
  30. You could use RJ-10 for the power-connections. Power
  31. can come from an AC-adaptor that gives at least 15V.
  32. (Most 12V adaptors will do.) I left the capacitors out, 
  33. spread a few around where apropriate, but don't make them
  34. too large.
  35.  
  36. -----------------------------------------------------------------
  37. The ingredients for the programmer are:
  38.  
  39.  1 x 78L05               Voltage regulator 5V, 100 mA
  40.  1 x 78L12               Voltage regulator 12V, 100 mA
  41.  1 x 7407                Open collector non-inverting buffers
  42.  1 x ZIF socket 18 pin   Can be expensive   
  43.  2 x Transistor PNP      e.g. BC 557 
  44.  2 x LED                 Red 3 mm
  45. 10 x Resistor 10k
  46.  2 x Resistor 1k
  47.  1 x Diode               Anti-smoke-and-fire
  48. -----------------------------------------------------------------
  49.  
  50. The ASCII drawing of the programmer follows on next page.
  51.  
  52. -----------------------------------------------------------------
  53.                                                   +5V
  54.  15..30V                                           |14
  55.                   +-------+                     +--+--+
  56. V+ ]--|>|---+-----+ 78L05 +--- +5V              | 7407|    
  57.             |     +---+---+                     +--+--+
  58.             |         |                            |7      
  59.             |        GND                          GND
  60.             |     +-------+               A   K
  61.             +-----+ 78L12 +--- +12V ------[LED]------[1k]----GND
  62.                   +---+---+              "Power"
  63. V- ]--- GND           |
  64.                      GND                  A   K
  65.                                 Vpp ------[LED]------[1k]----GND
  66.                                        "Activity"
  67.                                                       Vdd
  68.                                                        |14
  69.                           Vdd-[10K]--+       +---------+--------+
  70.                   1|\  2             |     13|                  |
  71.   D0 (2)-----------+  >--------------+-------+ RB7/Data         |
  72.                    |/                |       |                  |
  73.       +5V-[10k]-+                    |       |                  |
  74.                 | 12 /|13            |       |    PIC 16C84     |
  75. Busy (11)-------+--<  +--------------+       |     18 pin       |
  76.                      \|                      |    ZIF Socket    |
  77.                            Vdd-[10k]--+      |                  |
  78.                   3|\  4              |    12|                  |
  79.    D1 (3)----------+  >---------------+------+ RB6/Clock        |
  80.                    |/                        |                  |
  81.                            Vpp-[10K]--+      |                  |
  82.                   5|\  6              |     4|                  |
  83.    D2 (4)----------+  >---------------+------+ -MCLR/Vpp        |
  84.                    |/                        |                  |
  85.                                              +---------+--------+
  86.                                                        |5
  87.                                             +5V       GND
  88.                                              |
  89.                                   +--[10K]---+
  90.                                   |          |
  91.                  11|\  10         |      B |/ E
  92.              +-----+  >----[10K]--+--------|     PNP
  93.              |     |/                      |\ C
  94.              |                               |
  95.              |                               +---Vdd
  96.              |                               |
  97.              |                             [10K]
  98.              |                               |
  99.              |                              GND
  100.              |
  101.              |                              +12V
  102.              |                               |
  103.              |                    +--[10K]---+
  104.              |                    |          |
  105.              |    9|\  8          |      B |/ E
  106.    D3 (5)----+-----+  >----[10K]--+--------|     PNP
  107.                    |/                      |\ C
  108.                                              |
  109.                                              +---Vpp
  110.   GND (19)------GND                          |
  111.                                            [10K]
  112.                                              |
  113.                                             GND
  114. -----------------------------------------------------------------
  115.